home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cbibcode.arc / MOVETEXT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-05  |  407 b   |  20 lines

  1. /* p887.c --- bible */
  2. #include <conio.h>
  3. main()
  4. {
  5.     int i;
  6.     gotoxy(1,1);
  7.     for(i = 0; i < 5; i++)
  8.         cprintf("T h i s   i s   l i n e # %d\n\r", i);
  9.     cputs("Press any key to copy above text: ");
  10.     getch();
  11.     if(!movetext(1, 1, 28, 5, 40, 1))
  12.     {
  13.         cputs("\nFailed during 'movetext'");
  14.         exit(1);
  15.     }
  16.     gotoxy(1, 15);
  17.     lowvideo();
  18.     cputs("The copying was done by calling 'movetext'");
  19. getch();
  20. }